package com.lcy.springtest.conf;

import com.lcy.springtest.bean.Red;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author lichenyang
 * @create 2021-04-19 9:45 下午
 */
@Configuration
@ComponentScan("com.lcy.springtest.bean")
public class AwareConfig {

    @Bean
    public Red red(){
        return new Red();
    }

}
